export default {
  namespaced: true,
  state: {
    authorization: {
      account: 'admin',
      password: '1qaz@WSX',
    },
    mockLogin: false,
  },
  getters: {
    authorization: state => state.authorization,
    mockLogin: state => state.mockLogin,
  },
  mutations: {
    ['SET_LOGIN_STATE'] (state, status) {
      state.mockLogin = status;
    }
  },
  actions: {}
}
